package com.ying.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.ying.domain.po.Hobby;
import com.ying.domain.po.UserInfo;
import com.ying.enums.UserStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description ="用户VO实体")
public class UserVO {

    @Schema(description ="用户id")
    private Long id;

    @Schema(description ="用户名")
    private String username;

    @Schema(description ="详细信息")
    private UserInfo info;

    @Schema(description ="兴趣爱好")
    private List<Hobby> hobbies;

    @Schema(description ="使用状态（1正常 2冻结）")
    private UserStatus status;

    @Schema(description ="账户余额")
    private Integer balance;

    @Schema(description ="用户收货地址")
    private List<AddressVO> addresses;
}
